import { GET_USER_INFO } from '@/store/actionTypes'

const initState = {  }
export default function user(state=initState, action) {
  if (action.type === GET_USER_INFO) {
    console.log(action.payload);
    return action.payload
  }
  // 第一次调用时初始化状态
  return state
}